package com.ruoyi.mall.common.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 佣金对象 dts_commission
 *
 * @author ruoyi
 * @date 2025-05-26
 */
public class DtsCommission extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户表的用户id */
    private Long userId;

    /** 申请流水 */
    @Excel(name = "申请流水")
    private String traceSn;

    /** 结算类型 */
    @Excel(name = "结算类型")
    private Long type;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private Long mobile;

    /** 提现金额 */
    @Excel(name = "提现金额")
    private BigDecimal amount;

    /** 已提总额 */
    @Excel(name = "已提总额")
    private BigDecimal totalAmount;

    /** 审批状态 */
    @Excel(name = "审批状态")
    private Long status;

    // 审批状态
    private String status1;

    /** 审批备注 */
    @Excel(name = "审批备注")
    private String traceMsg;

    /** 添加时间 */
    private Date addTime;

    /** 逻辑删除 */
    private Long deleted;

    private DtsUser  dtsUser;

    public DtsUser getDtsUser() {
        return dtsUser;
    }

    public void setDtsUser(DtsUser dtsUser) {
        this.dtsUser = dtsUser;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setTraceSn(String traceSn)
    {
        this.traceSn = traceSn;
    }

    public String getTraceSn()
    {
        return traceSn;
    }
    public void setType(Long type)
    {
        this.type = type;
    }

    public Long getType()
    {
        return type;
    }
    public void setMobile(Long mobile)
    {
        this.mobile = mobile;
    }

    public Long getMobile()
    {
        return mobile;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public void setStatus(Long status)
    {
        this.status = status;
    }

    public String getStatus1() {
        return status1;
    }

    public void setStatus1(String status1) {
        this.status1 = status1;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setTraceMsg(String traceMsg)
    {
        this.traceMsg = traceMsg;
    }

    public String getTraceMsg()
    {
        return traceMsg;
    }
    public void setAddTime(Date addTime)
    {
        this.addTime = addTime;
    }

    public Date getAddTime()
    {
        return addTime;
    }
    public void setDeleted(Long deleted)
    {
        this.deleted = deleted;
    }

    public Long getDeleted()
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("traceSn", getTraceSn())
            .append("type", getType())
            .append("mobile", getMobile())
            .append("amount", getAmount())
            .append("totalAmount", getTotalAmount())
            .append("status", getStatus())
            .append("traceMsg", getTraceMsg())
            .append("addTime", getAddTime())
            .append("updateTime", getUpdateTime())
            .append("deleted", getDeleted())
            .toString();
    }
}
